kbuild: Do not use hyphen in exported variable name
authorBen Hutchings <ben@decadent.org.uk>
Fri, 26 Aug 2016 00:31:28 +0000 (01:31 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Sep 2017 00:59:17 +0000 (01:59 +0100)
commit133d98bc961d456d18f978741524b803eb8723ce
tree05b86a8e190e85efd07585b79dfb6f6e7d6fcc69
parent3af4232c0d36d77b5ebe1445c80cf2517b90339e
kbuild: Do not use hyphen in exported variable name

This definition in Makefile.dtbinst:

    export dtbinst-root ?= $(obj)

should define and export dtbinst-root when handling the root dts
directory, and do nothing in the subdirectories.  However, the
variable does not reliably get exported to the environment, perhaps
because its name contains a hyphen.

Rename the variable to dtbinst_root.

References: https://bugs.debian.org/833561
Fixes: 323a028d39cdi ("dts, kbuild: Implement support for dtb vendor subdirs")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name kbuild-do-not-use-hyphen-in-exported-variable-name.patch
scripts/Makefile.dtbinst